#ifndef PLOTS_H
#define PLOTS_H


#include <QtGui>
#include <QPainter>
#include "wykres.h"
#include "exceptions.h"

class Plots : public QWidget 
{
	Q_OBJECT

public:
	Plots();
	~Plots();
	void addFunctionToolbar( QPen pen=QPen(QColor(0,0,0)), char* funk = "");
	std::list<funkcja *> Functions;
public slots:
	void buttonClick();
	void deleteButtonClick();
	void exportPlot();
	void savePlot();
	void openPlot();
	void showToolTip(char* text);

private:
	Wykres *wykres;
	QVBoxLayout *rightLayout;
};

#endif // PLOTS_H
